package com.iot.comprehensive.face.service;

import com.iot.comprehensive.face.model.AccessForm;
import org.springframework.stereotype.Service;

import javax.persistence.Access;
import java.util.List;

/**
 * @Author 朱泽玉
 * @Create 2021/6/27 16:56
 * @Description
 * @Modified By:
 */
@Service
public interface AccessFormService {
    public void add(AccessForm accessForm);

    public void update(AccessForm accessForm);

    public List<AccessForm> findAll();

    public AccessForm findById(int id);

    public List<AccessForm> findByUserId(Long account_id);

    public List<AccessForm> findByAdminId(Long account_id);

    public List<AccessForm> findByHostId(Long account_id);

    public void del(int id);

    public List<AccessForm> findAvailable(Long account_id);
}
